* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1.2rem;
}

main {
    flex: 1;
}

main h1 {
    text-align: center;
    padding: 30px;
}

/*header*/
header {
    display: grid;
    justify-content: space-between;
    grid-auto-flow: column;
    background-color: #fccdc899;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 10px;
    position: sticky;
    top:0;
}

#nav-header ul {
    display: grid;
    grid-auto-flow: column;
}

#nav-header li {
    list-style: none;
    padding: 10px;
}

#nav-header a {
    text-decoration: none;
    color: black;
    transition: 3s;
}

#nav-header  a:hover {
    border-bottom: 1px solid black ;
    transform: scale(1.1);
    background-color: #D6A19B;
    border-radius: 10px;
}




#logo-header figure {
    max-width: 90px;
}

#logo-header img {
    width: 100%;
}

#search-header form {
    padding-top: 10px;
}

#lang-header select{
    border-radius: 5px;
    width: 100px;
    height: 25px;
    border: none;
    background-color: #D6A19B;
}

#search-header #search {
    border-radius: 5px;
    width: 200px;
    height: 25px;
    border: none;
}

#search-header #search-button {
    border-radius: 5px;
    width: 100px;
    height: 25px;
    border: none;
}




/*header*/
/*footer*/
footer {
    background-color: #ffe3df;
    display: grid;
    justify-content: space-between;
    grid-auto-flow: column;
    align-items: center
}

footer ul {
    display: grid;
}

footer li {
    list-style: none;
}

footer a {
    text-decoration: none;
    color: black;
}

.footer-social ul {
    display: grid;
    grid-auto-flow: column;
}

.footer-social li {
    padding: 10px;
}

.footer-social figure {
    width: 40px;
}

.footer-social img {
    width: 100%;
}

.footer-links {
    display: grid;
}
/*footer*/
/*home*/

#main-home {
    padding-top: 20px;
    padding-bottom: 20px;
}

.first-content-home {
    display: grid;
    justify-content:stretch;
    grid-auto-flow: column; 
    
}

#left-content-home {
    display: grid;
    grid-auto-flow: row;
    align-content: space-evenly;
    justify-content: normal;
    align-items: normal;
    justify-items: center;
    background-color: #D6A19B;
    background-image: url('../img/logo2.svg');
    background-size: cover;
    background-position: center;
}

#left-content-home p {
    background-color: #fccdc8;
    padding: 5px;
    border-radius: 5px;
}

#right-content-home {
    background-image: url('../img/mangoustan3.jpg');
    background-size: cover;
    background-position: center;
    height: 90vh;
    background-blend-mode: multiply;
    display: grid;
    align-items: center;
    justify-items: center;
    background-color: #87878769;
}

#right-content-home p {
    background-color: #fccdc8;
    padding: 5px;
    font-size: 1.7rem;
    border-radius: 5px;
}

.second-content-home {
    
    background-size: cover;
    background-position: center;
    height: 90vh;
    background-blend-mode: multiply;
    display: grid;
    align-items: center;
    justify-items: center;
    background-color: lch(100% 0.01 296.81);
    mix-blend-mode: multiply;
}

.second-content-home p {
    padding: 5px;
    border-radius: 5px;
}

.third-content-home {
    display: grid;
    justify-content:stretch;
    grid-auto-flow: column; 
    
}

#second-left-content-home {
    display: grid;
    grid-auto-flow: row;
    align-content: space-evenly;
    justify-content: normal;
    align-items: normal;
    justify-items: center;
    background-color: #D6A19B;
}

#second-right-content-home {
    background-image: url('../img/polynesie1.jpg');
    background-size: cover;
    background-position: center;
    height: 90vh;
    background-blend-mode: multiply;
    background-color: #87878769;
    display: grid;
    align-items: center;
    justify-items: center;
}

#second-right-content-home p {
    background-color: #fccdc8;
    padding: 5px;
    font-size: 1.7rem;
    border-radius: 5px;
}





/*home*/
/*biere*/

#biere-main a {
    text-decoration: none;
}

#biere-main {
    padding-top: 100px;
    padding-bottom: 100px;
}

#bieres {
    display: grid;
    grid-auto-flow: column;
    justify-content: space-evenly;
    text-decoration: none;
}

.biere {
    border-radius: 10px ;
    display: grid;
    justify-items: center;
    justify-content: center;
    width: 300px;
    padding-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: 3s;
}

.biere:hover {
    scale: 1.1;
}


.biere figure {
    width: 200px;
}

.biere img {
    width: 100%;
}

.biere button {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.biere button:hover {
    background: white;
    color: black;
}

.biere:nth-child(1){
    background-color: #F1717A;
    grid-row: 1;
}

.biere:nth-child(2){
    background-color: #F0B793;
    grid-row: 1;
}
.biere:nth-child(3){
    background-color: #823D35;
    grid-row: 1;
}

.desprix {
    text-align: center;
    color: white;
}


/*biere*/
/*actualite*/

#actualite-main {
    padding-top: 100px;
    padding-bottom: 100px;
}

#actualite {
    display: grid;
    justify-content: space-around
}

.actualites {
    display: grid;
    justify-items: center;
    justify-content: center;
    background-color:#F1717A ;
    height: 200px;
    width: 250px;
    margin: 100px;
    border-radius: 10px;
    padding-top:100px ;
    padding-bottom:80px ;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.actualites figure {
    width: 200px;
}

.actualites img {
    border-radius: 10px;
    width: 100%;
}

.actualites:nth-child(1){
    grid-row: 1;
}

.actualites:nth-child(2){
    grid-row: 1;
}

.actualites:nth-child(3){
    grid-row: 2;
}

.actualites:nth-child(4){
    grid-row: 2;
}
/*actualite*/
/*nous*/ 

#nous-main {
    padding-top: 100px;
    padding-bottom: 100px;
}

#trombinoscope {
    display: grid;
    gap: 100px;
    justify-content: center;
}

.membre {
    display: grid;
    justify-items: center;
    justify-content: center;
    width: 250px;
    height: 300px;
    border-radius: 10px;
    background-color: #ab8d8a99;
    padding-bottom: 80px;
    padding-top: 10px;
    gap: 10px;
    transition: 3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.membre:hover {
    transform: scale(1.05);
    background-color: #fccdc899;
}

.membre img {
    border-radius: 10px;
    width: 200px;
}

.membre figure {
    width: 100%;
}

.membre button {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.membre button:hover {
    background: white;
    color: black;
}

.membre:nth-child(1) {
    grid-row: 1;
}

.membre:nth-child(2) {
    grid-row: 1;
    
}

.membre:nth-child(3) {
    grid-row: 1;
    
}

.membre:nth-child(4) {
    grid-row: 2;
    grid-column: 1/2;
    justify-self: end;
    
}

.membre:nth-child(5) {
    grid-row: 2;
    grid-column: 3/4;
    justify-self: start;
    
}
/*nous*/
/*media*/

#media-main {
    padding-top: 100px;
    padding-bottom: 100px;   
    background-color:#ffe3df;
    display: grid;
}

#media-content {
    display: grid;
    justify-items: center;
    background-color: rgb(255, 255, 255);
    grid-auto-flow: column;
}


#mail {
    display: grid;
    justify-items: center;
    margin: 50px;
}

#mail a {
    color: black;
    text-decoration: none;
    transition: 3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);

}

#mail a:hover {
    border-bottom: 1px solid black ;
    transform: scale(1.1);
    background-color: #D6A19B;
}

#reseaux {
    display: grid;
    justify-items: center;
    margin: 50px;
}

#reseaux a {
    color: black;
    text-decoration: none;
    transition: 3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);

}

#reseaux a:hover {
    border-bottom: 1px solid black ;
    transform: scale(1.1);
    background-color: #D6A19B;
}



#reseaux li {
    list-style: none;
}

#contact-form {
    display: grid;
    justify-items: center;
    margin: 50px;

}

#media-content a{
    border-radius: 10px;
}

#media-content a:hover{
    border-radius: 10px;
}

#contact-form fieldset {
    display: grid;
    justify-items: center;
}

.champ {
    padding: 10px;
}

.champ input {
    width: 300px;
}

.champ textarea {
    width: 300px;
}





/*media*/
/*recette*/

#recette-main {
    background-color: #FDD4A6;
}

/*recette*/


.biere-detail {
    display: grid;
    justify-content:stretch;
    grid-auto-flow: column; 
    grid-template-columns: 1fr 2fr;
}



.left-biere-detail {
    display: grid;
    grid-auto-flow: row;
    align-content: space-evenly;
    justify-content: normal;
    align-items: normal;
    justify-items: center;
    background-color: #D6A19B;
    background-size: cover;
    background-position: center;
}



.right-biere-detail {
    background-size: cover;
    background-position: center;
    height: 90vh;
    background-blend-mode: multiply;
    display: grid;
    align-items: center;
    justify-items: center;
    background-color: #87878769;
}

.left-biere-detail:nth-child(1) {
    background-color: #F1717A; 
}



@media (max-width: 768px) {

    header {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-flow: row;
        align-items: center;
        row-gap: 15px;
        padding: 15px;
        text-align: center;
    }

    #logo-header {
        grid-column: 1 / 3;
        text-align: center;
    }

    #logo-header figure {
        max-width: 80px;
        margin: auto;
    }


    #lang-header {
        grid-column: 1 / 3;
        text-align: center;
        display: none;
    }

    #nav-header ul {
        grid-auto-flow: row;
        row-gap: 10px;
        text-align: center;
        padding: 0;
    }

    #nav-header li {
        padding: 5px;
    }

    #search-header {
        grid-column: 1 / 3;
        text-align: center;
        display: none;
    }

    #search-header form {
        display: flex;
        justify-content: center;
        gap: 5px;
        padding: 0;
    }

    #search-header #search {
        width: 160px;
    }

    #right-content-home {
        display: none;
    }

    #left-content-home {
        height: 90vh;
    }

    #trombinoscope {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    #bieres {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    #actualite {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    #media-content {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .left-biere-detail {
        display: none;
    }

    .biere-detail {
    display: block;
}
}



@media (max-width: 480px) {

    header {
        grid-template-columns: 1fr;
        row-gap: 10px;
        padding: 10px;
    }

    #logo-header {
        grid-column: 1;
    }

    #lang-header {
        grid-column: 1;
    }


    #nav-header ul {
        row-gap: 5px;
    }

    #nav-header a {
        font-size: 14px;
    }


    #search-header form {
        flex-direction: column;
        gap: 8px;
        display: none;
    }

    #search-header #search {
        width: 100%;
    }

    #search-header #search-button {
        width: 100%;
    }

    #right-content-home {
        display: none;
    }

    #left-content-home {
        height: 90vh;
    }

    #trombinoscope {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    #bieres {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .biere {
        margin: 10px;
    }

    #actualite {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    #media-content {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .left-biere-detail {
        display: none;
    }

    .biere-detail {
    display: block;
}

.footer-social ul {
    grid-auto-flow: row;
}

}
